/* --------------------
   PROCESS HEADER
   Reuses .header / .header-content / .header-image from
   Homepage.Css for visual consistency with the homepage hero.
   These rules only adjust what needs to differ.
--------------------- */
.process-header {
  min-height: 65vh;
}

.process-header .header-container {
  height: 65vh;
}

.process-subtitle {
  font-family: sans-serif;
  font-style: normal;
  font-size: 1.1rem;
  color: #b6b6b6;
  max-width: 480px;
  line-height: 1.6;
}

.process-header-image {
  background-image: none;
  background-color: #0d0d0d;
  align-items: flex-end;
  justify-content: flex-start;
}

/* --------------------
   STAGES
--------------------- */
.stages {
  background-color: #f7f3f3;
  padding: 5rem 1.5rem;
}

.stages .container {
  max-width: 1000px;
  margin: 0 auto;
}

.stage {
  display: grid;
  grid-template-columns: 90px 380px 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.stage-reverse {
  grid-template-columns: 90px 1fr 380px;
}

.stage-reverse .stage-media {
  order: 3;
}

.stage-reverse .stage-content {
  order: 2;
}

.stage:last-child {
  border-bottom: none;
}

.stage.show {
  opacity: 1;
  transform: translateY(0);
}

.stage-number {
  font-family: "Libre Bodoni", serif;
  font-style: italic;
  font-size: 3.5rem;
  color: rgba(0, 0, 0, 0.15);
  line-height: 1;
  align-self: start;
}

.stage-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #f0eded;
}

.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.stage-media-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: sans-serif;
  font-size: 0.8rem;
  color: #fff;
  /* background: rgba(0, 0, 0, 0.35); */
}

.stage-title {
  font-family: "Libre Bodoni", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.stage-description {
  font-family: sans-serif;
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.stage-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stage-tags li {
  background: #eee;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #333;
}

/* --------------------
   RESPONSIVE
--------------------- */
@media (max-width: 700px) {
  .stage,
  .stage-reverse {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stage-reverse .stage-media,
  .stage-reverse .stage-content {
    order: initial;
  }

  .stage-number {
    font-size: 2.5rem;
  }

  .stage-media {
    aspect-ratio: 16 / 9;
  }
}
